﻿@using System.Configuration
@using ECG.Utility
@model List<ECG.Common.ProviderListByLetterDto>
@{
    if (Model.Any())
    {
    <ul class="List-provider clearfix">
        @foreach (var item in Model)
        {
            var hostContainImages = ConfigurationManager.AppSettings["HostContainImages"];
            <li>
                <a href="@Url.Action("Index", "ProductByProvider", new { Provider = item.Id, ProviderName = StringUtil.RemoveSpecialCharactersVn(item.Name) })">
                    <img src="@hostContainImages/upload/ProviderImages/@item.ImagePath" width="84" height="45" />
                    <p>
                        @item.Name
                    </p>
                </a>
            </li>
        }
    </ul>
    }
}